package com.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.entity.Role;

import java.util.Set;

public interface RoleMapper extends BaseMapper<Role> {
    /**
     * 获取登录用户的角色列表
     * @param id
     * @return
     */
    Set<String> selectRoleListByUserId(Integer id);
}